package com.itheima.domain.query;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * @Author:篍
 * @Date: 2025/07/11 16:47
 * @Description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class QueryParam {
    private String name;
    private Integer gender;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate begin;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate end;
    private Integer page=1;
    private Integer pageSize=10;

    /**
     * 学院查询请求参数
     */
    //学历
    private Integer degree;
    //班级ID
    private Integer clazzId;
}
